#  Name:		diskstats
#  Version:		0.1
#  Depends:		awk
#  Part Of:		linuxrules
#  Purpose:		disks activity monitor, shows reads and writes. 
#               This is another hateful sleep(™) thing.
#
#  Creation:	Fri Oct 08 2010 (Lost and rewritten for linuxrules)
#  Modified:	Sun Nov 07 2010, 10:51:11

# For GPL3 licensing information, refer to linuxrules COPYING file.

BEGIN {
	while ((getline < "/proc/diskstats") > 0) {
        _disk[$3] = "none"
			# idx++
			# _proc[idx, 1] = ( $2 + $3 + $4 + $5 + $6 + $7 + $8)
			# _proc[idx, 2] = ( $5 )
	}
	close("/proc/diskstats")
}
